package org.ru.mse10.cvis.entity.search;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.ru.mse10.cvis.entity.misc.Identity;

/**
 * The Class CVSearchCriteria.
 */
@Entity
@Table(name = "cv_search_criteria")
public class CVSearchCriteria extends Identity {

	/** The name. */
	private String name;

	/** The description. */
	private String description;

	/** The criteria. */
	private String criteria;

	/** The hours. */
	private String hours;

	/** The minutes. */
	private String minutes;

	/** The start date. */
	private Date startDate;

	/** The end date. */
	private Date endDate;

	/** The next timeout. */
	private Date nextTimeout;

	/**
	 * Gets the name.
	 * 
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the name.
	 * 
	 * @param name
	 *            the new name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Gets the description.
	 * 
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * Sets the description.
	 * 
	 * @param description
	 *            the new description
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * Gets the criteria.
	 * 
	 * @return the criteria
	 */
	@Column(length = 1000)
	public String getCriteria() {
		return criteria;
	}

	/**
	 * Sets the criteria.
	 * 
	 * @param criteria
	 *            the new criteria
	 */
	public void setCriteria(String criteria) {
		this.criteria = criteria;
	}

	/**
	 * Gets the minutes.
	 * 
	 * @return the minutes
	 */
	public String getMinutes() {
		return minutes;
	}

	/**
	 * Sets the minutes.
	 * 
	 * @param minutes
	 *            the new minutes
	 */
	public void setMinutes(String minutes) {
		this.minutes = minutes;
	}

	/**
	 * Gets the hours.
	 * 
	 * @return the hours
	 */
	public String getHours() {
		return hours;
	}

	/**
	 * Sets the hours.
	 * 
	 * @param hours
	 *            the new hours
	 */
	public void setHours(String hours) {
		this.hours = hours;
	}

	/**
	 * Gets the start date.
	 * 
	 * @return the start date
	 */
	public Date getStartDate() {
		return startDate;
	}

	/**
	 * Sets the start date.
	 * 
	 * @param startDate
	 *            the new start date
	 */
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	/**
	 * Gets the end date.
	 * 
	 * @return the end date
	 */
	public Date getEndDate() {
		return endDate;
	}

	/**
	 * Sets the end date.
	 * 
	 * @param endDate
	 *            the new end date
	 */
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	/**
	 * Gets the next timeout.
	 * 
	 * @return the next timeout
	 */
	public Date getNextTimeout() {
		return nextTimeout;
	}

	/**
	 * Sets the next timeout.
	 * 
	 * @param nextTimeout
	 *            the new next timeout
	 */
	public void setNextTimeout(Date nextTimeout) {
		this.nextTimeout = nextTimeout;
	}

}
